﻿using Hotel.Domain.Audit.Implementation;
using Hotel.Domain.Audit.Interfaces;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Domain
{
    /// <summary>
    /// 字典表
    /// </summary>
    public class Dic : FullAuditedEntity, IFullAuditedObject
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long DicId { get; set; }
        /// <summary>        
        ///类型Id
        /// </summary>
        public long TypeId { get; set; }
        /// <summary>        
        ///字典名称
        /// </summary>
        public string DicName { get; set; }
        /// <summary>        
        ///字典值
        /// </summary>
        public string DicValue { get; set; }
        /// <summary>        
        ///字典编码
        /// </summary>
        public string DicCode { get; set; }
        /// <summary>        
        ///字典排序
        /// </summary>
        public int DicOrder { get; set; }
    }
}
